package com.ygqh.baby.model;

import com.ygqh.baby.ao.SalesPlatform;
import com.ygqh.baby.po.YgOrder;
import com.ygqh.baby.po.YgOrderDetail;
import com.ygqh.baby.po.YgStock;

import java.util.List;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2019/5/6 15:07
 * @since 1.0.0
 */
public class SaveMainOrderBo {

    private YgOrder order;

    private List<YgOrderDetail> orderDetailList;

    private List<YgStock> stockList;

    private boolean reduceStockFlag = true;
    private boolean delCar = true;

    private Long expressCardId;

    private SalesPlatform salesPlatform;

    public boolean isDelCar() {
        return delCar;
    }

    public void setDelCar(boolean delCar) {
        this.delCar = delCar;
    }

    public SalesPlatform getSalesPlatform() {
        return salesPlatform;
    }

    public void setSalesPlatform(SalesPlatform salesPlatform) {
        this.salesPlatform = salesPlatform;
    }

    public Long getExpressCardId() {
        return expressCardId;
    }

    public void setExpressCardId(Long expressCardId) {
        this.expressCardId = expressCardId;
    }

    public boolean isReduceStockFlag() {
        return reduceStockFlag;
    }

    public void setReduceStockFlag(boolean reduceStockFlag) {
        this.reduceStockFlag = reduceStockFlag;
    }

    public YgOrder getOrder() {
        return order;
    }

    public void setOrder(YgOrder order) {
        this.order = order;
    }

    public List<YgOrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    public void setOrderDetailList(List<YgOrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }

    public List<YgStock> getStockList() {
        return stockList;
    }

    public void setStockList(List<YgStock> stockList) {
        this.stockList = stockList;
    }
}

